Re: Turbo232 UART Cart HDL

From: Nate Lawson <>
Date: Sat, 14 Dec 2013 12:53:58 -0800
Message-Id: <>
On Dec 13, 2013, at 9:39 PM, Jim Brain wrote:

> wire [1:0] divisor;  // Why does this need a wire def, when isCLK16 does not, and they are both used as inputs to registers?

> assign isCLK16 = (data[3:0] == 0);
> assign divisor = (ebps_reg_en & mode ? data[1:0] : 0);

I believe it's because divisor is multiple lines (an array of wires), not just a single wire.

I recommend Ciletti's book on Verilog for a clear but also in-depth approach to digital design.

The latest version is really expensive still:

The previous edition (which I have) is cheaper:

Also, Amazon mislabeling by sellers means you could take a chance on this one ($30), although it is unclear what edition it is:


       Message was sent through the cbm-hackers mailing list
Received on 2013-12-14 21:02:14

Archive generated by hypermail 2.2.0.