I have tried reading up on CUPL for a CPLD project, but I have been less
than successful. Is there a good tutorial on some of the advanced CUPL
stuff?
I have tried reading up on CUPL for a CPLD project, but I have been less
than successful. Is there a good tutorial on some of the advanced CUPL
stuff?
In my case, I have some combinatorial logic (CE_OUT=CE_IN & !A7 & !A6 &
!A5 & !A4 & !A3), and I grok that pretty well.
But, in my design, I need to implement a read/write register, and I
can't find a good example in CUPL to implement it. The Data lines need
to be HiZ unless the register is being accessed, and if it is, lines go
to latch input if Write, lines go to latch output if read.
Examples would be fine, or just links to a good tutorial that would show
a register would be perfect.
I appreciate the responses. I'll look at them to finish this.
One person emailed me asking why I am using CUPL. As I'm new to
programmable logic, I decided it'd be best to start with a CPLD. I
obtained 2 from Digikey, an ATF750 and a Atmel 1504AS. After delivery,
I went trolling for a piece of software to use to program them, thus
WinCUPL.
The email suggested ABEL, and I'll give that a shot as well. Another
person suggested I dload WebPack or Xilinx's offering, draw the
schematic, and export as a VHDL file, load into WinCUPL, and go from there.
I dloaded WebPack, drew my schematic (I'm a software developer, but I am
struggling with VHDL. Schematics, OTOH, I can draw very easily). I
managed to get the schematic to compile on Quartus (with warnings about
my inout pins being tied to VCC or something, so I suspect I've done
something wrong), so I exported as VHDL (looks nasty, like decompiled C
code), and imported into WinCUPL. No go.
Reading the newsgroup for a few weeks, I am obviously not in the same
league as most who frequent here, but it just seems very hard for a new
entrant to programmable logic to get a CPLD going. I'd love to go
straight to FPGAs, but the entire circuit is a 5 FF, 20 gate design, so
an FPGA and an EPROM seems overkill.
Am I going about this the wrong way? Should I avoid CUPL like the
plague?
Is ABEL my best bet for CPLD design, or is there a reasonable
VHDL tool that will give me files I can program into a 750 or 1504, or
industry std PAL/GALs?
I appreciate the responses. I'll look at them to finish this.
One person emailed me asking why I am using CUPL. As I'm new to
programmable logic, I decided it'd be best to start with a CPLD. I
obtained 2 from Digikey, an ATF750 and a Atmel 1504AS. After delivery,
I went trolling for a piece of software to use to program them, thus
WinCUPL.
Reading the newsgroup for a few weeks, I am obviously not in the same
league as most who frequent here, but it just seems very hard for a new
entrant to programmable logic to get a CPLD going. I'd love to go
straight to FPGAs, but the entire circuit is a 5 FF, 20 gate design, so
an FPGA and an EPROM seems overkill.
Am I going about this the wrong way? Should I avoid CUPL like the
plague? Is ABEL my best bet for CPLD design, or is there a reasonable
VHDL tool that will give me files I can program into a 750 or 1504, or
industry std PAL/GALs?
Do you have a choice with CPLD's? I dont know any CPLD's supported by
CUPL.
Users browsing this forum: No registered users and 0 guests