{"id":118,"date":"2025-09-26T22:17:36","date_gmt":"2025-09-26T14:17:36","guid":{"rendered":"http:\/\/www.lhh-redbean.cn\/?p=118"},"modified":"2025-09-26T22:17:36","modified_gmt":"2025-09-26T14:17:36","slug":"%e6%b3%a2%e5%bd%a2%e5%b1%95%e7%a4%ba%e5%b7%a5%e5%85%b7-wavedrom","status":"publish","type":"post","link":"http:\/\/www.lhh-redbean.cn\/index.php\/2025\/09\/26\/%e6%b3%a2%e5%bd%a2%e5%b1%95%e7%a4%ba%e5%b7%a5%e5%85%b7-wavedrom\/","title":{"rendered":"\u6ce2\u5f62\u5c55\u793a\u5de5\u5177\u2014\u2014WaveDrom"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wavedrom.com\/\">WaveDrom<\/a>\u00a0is a JavaScript application. WaveJSON is a format that describes Digital Timing Diagrams. WaveDrom renders the diagrams directly inside the browser. Element\u00a0<strong>&#8220;signal&#8221;<\/strong>\u00a0is an array of WaveLanes. Each WaveLane has two mandatory fields:\u00a0<strong>&#8220;name&#8221;<\/strong>\u00a0and\u00a0<strong>&#8220;wave&#8221;<\/strong>.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u6682\u65f6\u61d2\u5f97\u51fa\u5206\u4eab\uff0c\u76f4\u63a5\u4e0a\u56fe+\u4ee3\u7801<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11-1024x469.png\" alt=\"\" class=\"wp-image-121\" srcset=\"http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11-1024x469.png 1024w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11-300x137.png 300w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11-768x352.png 768w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11-1536x703.png 1536w, http:\/\/www.lhh-redbean.cn\/wp-content\/uploads\/2025\/09\/image-11.png 1678w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>{signal: &#91;\n  {name: 'clk', wave: 'p.............'},\n  {name: 'pc', wave: '=....=........', data: &#91;\"0x80000000\", \"0x80000004\", \"0x80000008\"]},\n  {name: 'inst', wave: 'x...=x...=....', data: &#91;\"0x00000413\", \"0x00112423\", \"0x00812403\"]},\n  &#91;'Master',\n    {name: 'awvalid', wave: '0........10...'},\n    {name: 'wvalid' , wave: '0........10...'},\n    {name: 'bready' , wave: '0.........1.0.'},\n    {name: 'arvalid', wave: '10...10.......'},\n    {name: 'rready' , wave: '01.0..1.0.....'},\n\n    {name: 'IFU_state',\n     wave: '==.====.===...',\n     data: &#91;\"IDLE\", \"READ\", \"RESP\", \"DONE\", \"IDLE\", \"READ\", \"RESP\", \"DONE\", \"IDLE\"]},\n\n    {name:\n     'LSU_state',\n     wave: '=.........=.==',\n     data: &#91;\"IDLE\", \"WRITE\", \"RESP\", \"DONE\"]},\n  ],\n  &#91;'Slave',\n    {name: 'awready', wave: '10.1..0..10..1'},\n    {name: 'wready' , wave: '10.1..0..10..1'},\n    {name: 'bvalid' , wave: '0..........10.'},\n    {name: 'bresp' , wave: 'x..=x...=x..=x', data: &#91;\"OKAY\", \"OKAY\", \"OKAY\"]},\n    {name: 'arready', wave: '10..1.0..10..1'},\n    {name: 'rvalid' , wave: '0.10...10....'},\n    {name: 'rresp' , wave: 'x..=x...=x..=x', data: &#91;\"OKAY\", \"OKAY\", \"OKAY\"]},\n    {name: 'write' , wave: '0........1....'},\n    {name: 'read'  , wave: '0.............'},\n    {name:\n     'SRAM_state',\n     wave: '=====.========',\n     data: &#91;\"IDLE\", \"READ\", \"R_DONE\", \"RESP\", \"IDLE\", \"READ\", \"R_DONE\", \"RESP\", \"IDLE\", \"WRITE\", \"W_DONE\", \"RESP\", \"IDLE\"]}\n  ]\n  ],\n    config: { hscale: 3 }\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>WaveDrom\u00a0is a J&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[16,19],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-tools","tag-eztools","tag-wavedrom"],"_links":{"self":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":2,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":123,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/posts\/118\/revisions\/123"}],"wp:attachment":[{"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lhh-redbean.cn\/index.php\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}