Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Encoder/Decoders

Altera_Forum
Honored Contributor II
1,167 Views

How to create 4to16 decoder with 3to8 decoder? 

 

Thanks alot.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
441 Views

You can create them with a case statement or a for loop. 

 

The case statement versions are easy to understand, but they're specific to a particular decoder width. 

 

The for-loop version can be made generic. 

 

People on this forum will not usually give you code as part of their answer, since we assume you have been asked to do this as homework. However, we will provide feedback on your code if its clear you have taken the time to try it yourself. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
441 Views

Hint: Like you create a 3to8 decoder with 2to4 decoders

0 Kudos
Reply