mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-25 12:36:02 +00:00
Added test cases
This commit is contained in:
parent
fb22d7cdc4
commit
271ac28b41
39 changed files with 897 additions and 0 deletions
8
tests/sim/aldffe.v
Normal file
8
tests/sim/aldffe.v
Normal file
|
@ -0,0 +1,8 @@
|
|||
module aldffe( input [0:3] d, input [0:3] ad, input clk, aload, en, output reg [0:3] q );
|
||||
always @( posedge clk, posedge aload)
|
||||
if (aload)
|
||||
q <= ad;
|
||||
else
|
||||
if (en)
|
||||
q <= d;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue