mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-26 13:06:12 +00:00
presentation progress
This commit is contained in:
parent
7a5f378bae
commit
03d63dd861
9 changed files with 206 additions and 3 deletions
10
manual/PRESENTATION_ExSyn/abc_01.v
Normal file
10
manual/PRESENTATION_ExSyn/abc_01.v
Normal file
|
@ -0,0 +1,10 @@
|
|||
module test(input clk, a, b, c,
|
||||
output reg y);
|
||||
|
||||
reg [2:0] q1, q2;
|
||||
always @(posedge clk) begin
|
||||
q1 <= { a, b, c };
|
||||
q2 <= q1;
|
||||
y <= ^q2;
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue