1 Star 0 Fork 0

hongcez/verilog-parser

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
primitives.v 686 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ben Marshall 提交于 2016-05-20 22:49 +08:00 . Add custom primitives test.
module d_latch_gates(d,clk,q,q_bar);
input d,clk;
output q, q_bar;
wire n1,n2,n3;
not a (n1,d);
not a (n1,d), b(n2,c);
not c (n1,d), (n2,c);
not (n1,d), b(n2,c);
not a (n1,d), b(n2,c);
not (supply0,supply1) a (n1,d), b(n2,c);
not (supply0,supply1) #(1) a (n1,d), b(n2,c);
not a (n1,d), b(n2,c);
not #(1) a (n1,d), b(n2,c);
not #(1,2) a (n1,d), b(n2,c);
tranif0 (b,c,d);
tranif0 a (b,c,d);
tranif0 #(1) (b,c,d);
tranif0 #(1) a (b,c,d);
bufif0 (b,c,d);
bufif0 a (b,c,d);
bufif0 #(1) (b,c,d);
bufif0 #(1) a (b,c,d);
nand (n2,d,clk);
nand (n3,n1,clk);
nand (q,q_bar,n2);
nand (q_bar,q,n3);
endmodule
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hongcez/verilog-parser.git
git@gitee.com:hongcez/verilog-parser.git
hongcez
verilog-parser
verilog-parser
master

搜索帮助