Re: 6502 to 7501/8501 converter

From: Jim Brain <brain_at_jbrain.com>
Date: Mon, 18 Jun 2018 03:02:31 -0500
Message-ID: <f2bee04b-ebff-3d3d-1ba4-b5a70ee32d9d@jbrain.com>
On 6/18/2018 2:43 AM, Hegedus, Istvan wrote:
>
> Your workaround is however also ok, I have just one concern.
>
> always @(negedge gate_in)
>
> begin
>
>   if(!gate_in)
>
>     r_w_latched <= r_w_6502;
>
> end
>
>
> In this part I am not sure whether this will ever meet the if 
> requirement. Will gate_in be low already in your condition check? 
It will, and the compiler complained about that as well.  I thus 
simplified it:

always @(negedge gate_in)

begin

     r_w_latched <= r_w_6502;

end


-- 
Jim Brain
brain@jbrain.com
www.jbrain.com
Received on 2018-06-18 11:00:04

Archive generated by hypermail 2.2.0.