How Define Code 16bit MUX

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How Define Code 16bit MUX

C.W Park
This post was updated on .
Pay Attention!

In your book Appendix A:
It's too short describe syntax for HDL.

In project 1, Hack Platform

When, I wrote 16bit MUX HDL Code.




Program Report: a[16] the specified sub bus is not in the bus range



How Can I get HDL systax ?

How Can I get Book's Project Soulution?
Reply | Threaded
Open this post in threaded view
|

Re: How Define Code 16bit MUX

ybakos
Spend more time reading Appendix A.

You are trying to wire a 16-bit bus input in And16 (a) to _one bit_ of the chip's input, a[16].

If the chip input is a[16] then you can refer to a and know that it is 16 bits wide.

Do you see what change you need to make in your hdl?
Reply | Threaded
Open this post in threaded view
|

Re: How Define Code 16bit MUX

C.W Park
Thank you very much!!! I understood that code's problem is solved.
The book helps me, many ways to create types.
I thought a lot about HDL syntax.
Thank you!