Thanks for the Verilog help

From: Jim Brain <brain_at_jbrain.com>
Date: Tue, 10 Dec 2013 01:20:15 -0600
Message-ID: <52A6C0AF.5010505@jbrain.com>
I know it's not much, but I was able to successfully synthesize and use 
a small chunk of handwritten Verilog last night to implement 4 
read/write registers in a CPLD.  I wired it up to the C64, and 
56832-56835 now can hold 4 different value.

Pretty trivial, but it's something.  Thanks for the pointers and help.  
I'm still fighting when to use wire, and when to use reg, when to use 
always and when to use assign, etc., but I'll sort it out.

Interestingly, my code did not work until I set the registers to react 
on negedge of clock.  I implicitly understand (not all of the signals 
are ready when phi2 goes high), but I have not investigated to see which 
signals lag phi2.  For others that write HDL, is this common with the 
64/128?  I'm using a -10 part, if that matters.

Jim

-- 
Jim Brain
brain@jbrain.com
www.jbrain.com


       Message was sent through the cbm-hackers mailing list
Received on 2013-12-10 08:00:06

Archive generated by hypermail 2.2.0.