1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

30 lines
403 B
Coq
Raw Normal View History

2008-11-22 22:40:25 +01:00
// File: rom.v
2008-11-23 11:36:16 +01:00
// Generated by MyHDL 0.6
// Date: Sun Nov 23 11:34:35 2008
2008-11-22 22:40:25 +01:00
`timescale 1ns/10ps
module rom (
dout,
addr
);
output [7:0] dout;
reg [7:0] dout;
input [3:0] addr;
always @(addr) begin: ROM_READ
// synthesis parallel_case full_case
case (addr)
0: dout <= 17;
1: dout <= 134;
2: dout <= 52;
default: dout <= 9;
endcase
end
endmodule