K
kollosse
Guest
Bok,
Kako mogu resetirati set registrirati?
Izvanburzovno počinje diže na rubu clk1, tada brojilo broji up
do FFFFh i prestane.
modul counter
Naslov'16bit counter '
Deklaracije
clk pin 5;
clk1 pin 6;
count_en čvor istype 'reg';
d0 pin 24 istype 'reg';
d1 pin 25 istype 'reg';
d2 pin 26 istype 'reg';
d3 pin 27 istype 'reg';
d4 pin 28 istype 'reg';
D5 pin 29 istype 'reg';
D6 pin 33 istype 'reg';
D7 pin 34 istype 'reg';
D8 pin 35 istype 'reg';
D9 pin 36 istype 'reg';
d10 pin 37 istype 'reg';
D11 pin 38 istype 'reg';
d12 pin 39 istype 'reg';
d13 pin 40 istype 'reg';
d14 pin 42 istype 'reg';
d15 pin 43 istype 'reg';
test pin 44 istype 'reg';
a = [d15, d14, d13, d12, D11, d10, D9, D8, D7, D6, D5, d4, D3, D2, D1, d0];
Jednadžbe
count_en.CLK = clk1; / / Pokretačke
a.CLK = clk & count_en; / / Enable Counter clk
count_en: = count_en.FB 1;
a: = a.FB 1; / / counter
kad (a == ^ Hffff) onda
count_en: = 0; / /
<img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" /><img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" />
Kako mogu resetirati reg čvor
<img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" /><img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" />kraj counter
Kako mogu resetirati set registrirati?
Izvanburzovno počinje diže na rubu clk1, tada brojilo broji up
do FFFFh i prestane.
modul counter
Naslov'16bit counter '
Deklaracije
clk pin 5;
clk1 pin 6;
count_en čvor istype 'reg';
d0 pin 24 istype 'reg';
d1 pin 25 istype 'reg';
d2 pin 26 istype 'reg';
d3 pin 27 istype 'reg';
d4 pin 28 istype 'reg';
D5 pin 29 istype 'reg';
D6 pin 33 istype 'reg';
D7 pin 34 istype 'reg';
D8 pin 35 istype 'reg';
D9 pin 36 istype 'reg';
d10 pin 37 istype 'reg';
D11 pin 38 istype 'reg';
d12 pin 39 istype 'reg';
d13 pin 40 istype 'reg';
d14 pin 42 istype 'reg';
d15 pin 43 istype 'reg';
test pin 44 istype 'reg';
a = [d15, d14, d13, d12, D11, d10, D9, D8, D7, D6, D5, d4, D3, D2, D1, d0];
Jednadžbe
count_en.CLK = clk1; / / Pokretačke
a.CLK = clk & count_en; / / Enable Counter clk
count_en: = count_en.FB 1;
a: = a.FB 1; / / counter
kad (a == ^ Hffff) onda
count_en: = 0; / /
<img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" /><img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" />
Kako mogu resetirati reg čvor
<img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" /><img src="http://www.edaboard.com/images/smiles/icon_question.gif" alt="Pitanje" border="0" />kraj counter