mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-21 18:50:38 +00:00
presentation progress
This commit is contained in:
parent
9d0b69edaa
commit
982c9da011
19 changed files with 199 additions and 45 deletions
|
@ -1,10 +1,8 @@
|
|||
module test(input A, B, C, D, E,
|
||||
output reg Y);
|
||||
always @* begin
|
||||
Y <= A;
|
||||
if (B)
|
||||
Y <= C;
|
||||
if (D)
|
||||
Y <= E;
|
||||
end
|
||||
module test(input D, C, R, RV,
|
||||
output reg Q);
|
||||
always @(posedge C, posedge R)
|
||||
if (R)
|
||||
Q <= RV;
|
||||
else
|
||||
Q <= D;
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue