File: test_simulation_seq.v

package info (click to toggle)
yosys 0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,084 kB
  • sloc: cpp: 82,579; python: 2,725; yacc: 2,018; sh: 1,516; makefile: 884; lex: 492; perl: 399; ansic: 175; vhdl: 46; tcl: 14
file content (12 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12

// test_simulation_seq_ff_1_test.v
module f1_test(input in,  input clk, output reg out);
always @(posedge clk)
    out <= in;
endmodule	

// test_simulation_seq_ff_2_test.v
module f2_test(input  in,  input clk,  output reg out);
always @(negedge clk)
   out <= in;
endmodule