didbird
Newbie level 1
I do not know HDL, VHDL or Verilog. I do OK with Altera's graphic editor but have a need to send 4 bytes of data from cpld to mcu upon mcu's request. I do not really need two way communication though that would be good to know for future projects. I just want to get these 4 bytes to the mcu using the graphic editor with as few CPLD resources as possible and I'm not sure how to do it.
What I do know (or think I do):
1 Easier with synconous com that asyn.
2 I can use 2 CPLD pins for parallel address inputs of the 4 data bytes.
3 I can hold each data byte in a seperate register.
4 I think I could use 74165 parallel load 8 bit shift register Macrofunction.
5 I shoul use a latch in series with the 74165 in case bit values are changing while they are being read.
Am I on the right track here? I am using a EPM7064SLC device and don't have enough i/o's. Of course the whole project probably won't fit in this device when its done...
thanks for any help or advice. As you can tell, I'm new to this.
What I do know (or think I do):
1 Easier with synconous com that asyn.
2 I can use 2 CPLD pins for parallel address inputs of the 4 data bytes.
3 I can hold each data byte in a seperate register.
4 I think I could use 74165 parallel load 8 bit shift register Macrofunction.
5 I shoul use a latch in series with the 74165 in case bit values are changing while they are being read.
Am I on the right track here? I am using a EPM7064SLC device and don't have enough i/o's. Of course the whole project probably won't fit in this device when its done...
thanks for any help or advice. As you can tell, I'm new to this.