VHDL Programming

(C. Jardin) #1

312 Chapter Thirteen


Reset

ProgCntrWr

ProgCntrRd

AddrRegWr

AddrRegRd

OutRegWr

OutRegRd

ShiftSel

AluSel

CompSel

OpRegRd

OpRegWr

InstrWr

RegSel

RegRd

RegWr

Rw

Vma

Clock

InstrReg

Compout

Ready

Control

Figure 13-6
Control Symbol.


architecture rtl of control is
signal current_state, next_state : state;
begin
nxtstateproc: process( current_state, instrReg, compout,
nxtstateproc: process( ready)
begin
progCntrWr <= ‘ 0 ’;
progCntrRd <= ‘ 0 ’;
addrRegWr <= ‘ 0 ’;
outRegWr <= ‘ 0 ’;
outRegRd <= ‘ 0 ’;
shiftSel <= shftpass;
aluSel <= alupass;
compSel <= eq;
opRegRd <= ‘ 0 ’;
opRegWr <= ‘ 0 ’;
instrWr <= ‘ 0 ’;
regSel <= “ 000 ”;
regRd <= ‘ 0 ’;
regWr <= ‘ 0 ’;
rw <= ‘ 0 ’;
Free download pdf