online Verilog Code for tristate
Verilog code sample for the flip-flop/register triggered with a positive-edge clock.
module tristate (T, In, Out); input T, In; output Out; reg Out;
always @(T or In) begin if (~T) Out = In; else Out = 1'bZ; end endmodule
People found these links also interested and knowledgeable Register Transfer Language Discussions
* Good verilog coding styles * Thoughts of an Good RTL designer
Pool of Chip Articles are available.....
|