6

VSC + Wavefrom Render 画时序图

 3 years ago
source link: https://www.taterli.com/8903/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

VSC + Wavefrom Render 画时序图 – TaterLi 个人博客

VSC + Wavefrom Render 画时序图

VSC + Wavefrom Render 画时序图

画时序图是做文档,写笔记里面非常常用的,无奈一直没找到好的画时序图的软件.不过最近发现VSC里面居然有这个插件.

image.png

复制上面的示例,然后可以按Ctrl+Shift+P进行绘图,还可以实时更新时序图,非常好看.

测试代码:

{
  signal:
    [
      { name: "clk", wave: "p.....|..." },
      {
        name: "Data",
        wave: "x.345x|=.x",
        data: ["head", "body", "tail", "data"],
      },
      { name: "Request", wave: "0.1..0|1.0" },
      {},
      { name: "Acknowledge", wave: "1.....|01." },
    ],
}
image-2.png

语法这里都有.

https://github.com/wavedrom/schema/blob/master/WaveJSON.md

整体来说非常方便

发表回复 取消回复

显示名称 *

电子邮箱地址 *

网站地址

通过邮件订阅评论

评论 *

</body


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK