Re: [myhdl-list] Driving constants
Brought to you by:
jandecaluwe
From: Sébastien B. <seb...@mi...> - 2011-09-04 22:43:44
|
On 09/04/2011 11:59 PM, Jan Langer wrote: > So my idea was to put the clock edge into the sensitivity list and you > get a clocked process that drives a constant, Ah, ok. :) > which in your case will get optimized away and behave as a normal constant. I'm afraid it won't. By default, FPGA registers are initialized at 0 immediately after configuration. So if I want to drive a constant 1, I will get instead a register that will drive 0 until the first clock cycle, after which it drives 1. |