projects
/
yosys.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'origin/master' into xc7mux
[yosys.git]
/
tests
/
asicworld
/
code_verilog_tutorial_which_clock.v
1
module which_clock (x,y,q,d);
2
input x,y,d;
3
output q;
4
reg q;
5
6
always @ (posedge x or posedge y)
7
if (x)
8
q <= 1'b0;
9
else
10
q <= d;
11
12
endmodule