Article View: comp.lang.verilog
Article #164Re: Verilog code for Inverted, Open collector
From: Chandresh Patel
Date: Fri, 22 Jan 1993 21:43
Date: Fri, 22 Jan 1993 21:43
42 lines
1492 bytes
1492 bytes
In article 8369@tekig7.PEN.TEK.COM, cliffc@tekeda.PEN.TEK.COM (Clifford E Cummings) writes: > In article <C17p8K.7nA@iphase.com> phan@iphase.com (Tai Phan) writes: > >If anyone knows a simple way to describe in Verilog an Open collector, > >Inverted, with Output enable bus, please help. The parameters are as follow: > > Stuff deleted... > Is this what you are looking for? (this example can be run) > > `timescale 1ns/100ps > module oc_bus( outp_, inp, oen_); > // Verilog code > input [31:0] inp; // Input bus > input oen_; // Output enable > output [31:0] outp_; // Output bus > > triand (strong1, highz0) [31:0] outp_ = (~oen_ ? ~inp : 32'bz); I believe it should be: triand (highz1, strong0) [31:0] outp_ = (~oen_ ? ~inp : 32'bz); > > endmodule > > module oc_bus_test; Stuff deleted... > endmodule > > Regards - Cliff Cummings - cliffc@tekeda.pen.tek.com --- Chandresh Patel Amdahl Advanced Systems, Fremont CA patel@key.amdahl.com
Technical Details
Message-ID:
<4023@key.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!key!patelReferences:
<8369@tekig7.PEN.TEK.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!key!patel From: patel@key.amdahl.com (Chandresh Patel) Newsgroups: comp.lang.verilog Subject: Re: Verilog code for Inverted, Open collector Message-ID: <4023@key.COM> Date: 22 Jan 93 21:43:55 GMT References: <8369@tekig7.PEN.TEK.COM> Sender: usenet@key.COM Reply-To: patel@key.amdahl.com Distribution: world Organization: Amdahl Corporation, Advanced System Division Lines: 44