[Ktechlab-devel] Re: Creating new component - Decoder

Fredy Yanardi fyanardi at gmail.com
Sun Aug 7 07:59:52 UTC 2005


Hi David,

Thanks for your comments. I also realize that the demultiplexer can be
used for decoding purpose. I choose decoder because it's quite simple
for me to understand basic ideas for creating logic components.
Unfortunately, my knowledge about logic circuit is still very limited
as I'm still studying in second year university.

I have some ideas to create some more components:
- Encoder / Priority encoder
- Magnitude comparator
- Some ALU components

Also, I have a question about demultiplexer. Why does if I increment
the number of inputs, then the demultiplexer increments X pins, not A
pins. Is this desired behavior of this components?

Thanks and regards,

Fredy Yanardi

On 8/7/05, David Saxton <david at bluehaze.org> wrote:
> Hello Fredy,
> 
> Your decoder component has very similar functionality to the demultiplexer 
> component; by holding the input to the demultiplexer component high, the 
> behaviour of the demultiplexer component is identical to that of the decoder
> 
> component.
> 
> Patches for new components are always very welcome :), but unfortunately,
> the 
> behaviour of the decoder seems too similar to that of the demultiplexer to
> be 
> accepted :( - if you think otherwise, please say.
> 
> Otherwise though, there are plenty of new components that could be created 
> (ALU components such as shifters and multipliers, components for interacting
> 
> with computer peripherals such as the parallel port, etc), which would be 
> very useful.
> 
> David Saxton
> 
> 
> On Friday 05 Aug 2005 18:52, Fredy Yanardi wrote:
> > Hi all,
> >
> > Today I was playing with ktechlab to create a new component. I want to
> > make a decoder, I created this based on multiplexer's codes. I've
> > finished the codes for this new component and the operation of the
> > decoder is also valid. But every time I delete this object from,
> > ktechlab always crashes. I stuck with this error, hope someone can
> > point out my mistake. Here I attach the source codes for the decoder.
> >
> > Thanks for any help, this is a great opensource project and I want to
> > take part to make it better.
> >
> > Sorry for my english.
> >
> > cheers,
> >
> > Fredy Yanardi
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
>




More information about the Ktechlab-devel mailing list