blob: 6e5a0f74ce28cb8f5c7c5a2ac4083a8a17962715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Model for tristate bus on altera
// FIXME do we really need to use a megacell for this?
module bustri (data,
enabledt,
tridata);
input [15:0] data;
input enabledt;
inout [15:0] tridata;
assign tridata = enabledt ? data :16'bz;
endmodule // bustri
|