mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
21 lines
175 B
Coq
21 lines
175 B
Coq
|
module tb_bin2gray;
|
||
|
|
||
|
reg [7:0] B;
|
||
|
wire [7:0] G;
|
||
|
|
||
|
initial begin
|
||
|
$from_myhdl(
|
||
|
B
|
||
|
);
|
||
|
$to_myhdl(
|
||
|
G
|
||
|
);
|
||
|
end
|
||
|
|
||
|
bin2gray dut(
|
||
|
B,
|
||
|
G
|
||
|
);
|
||
|
|
||
|
endmodule
|