creating a simple digital logic circuit simulator
- From: pete_abel@xxxxxxxxxxx
- Date: 12 Oct 2005 18:20:50 -0700
Hi,
Im in the process of writing a simple digital logic circuit simulator
application (similar to B2Logic). What would be the best approach or
design for a project like that? I mean should I use the object-oriented
design: making gates as classes, and if so, should I make ALL gates as
classes or should it be just the BASIC gates (AND, NOT, OR) and build
all other components (XOR, NOR, NAND, FULLADDER, etc.) as C-style
FUNCTIONS that use those basic classes?
I guess my questions should be: Whats the most common design in
commercial applications (e.g. B2Logic)? Is it pure, C-Style code, or is
it OOD? And how is it generally done (details are highly
appreciated)???
Thank you.
Pete
.
- Follow-Ups:
- Re: creating a simple digital logic circuit simulator
- From: Leon
- Re: creating a simple digital logic circuit simulator
- From: Stuart Brorson
- Re: creating a simple digital logic circuit simulator
- From: Kevin Aylward
- Re: creating a simple digital logic circuit simulator
- Prev by Date: Re: spectre simulation question
- Next by Date: Re: PSpice Probe Crashes
- Previous by thread: spectre simulation question
- Next by thread: Re: creating a simple digital logic circuit simulator
- Index(es):