mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
Progress on AppNote 011
This commit is contained in:
parent
1b3a60976d
commit
e23a0072ec
6 changed files with 190 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
module example(input clk, a, b, c, output reg [1:0] y);
|
||||
always @(posedge clk)
|
||||
if (c)
|
||||
y <= c ? a + b : 2'd0;
|
||||
module example(input clk, a, b, c,
|
||||
output reg [1:0] y);
|
||||
always @(posedge clk)
|
||||
if (c)
|
||||
y <= c ? a + b : 2'd0;
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue