Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sll, srl, sla, sra , rol, ror operations

258 views
Skip to first unread message

Steven Ross

unread,
Mar 1, 2000, 3:00:00 AM3/1/00
to
Does anyone have any examples on how to use sll, srl, sla, sra, rol, ror
operations in VHDL. I uderstand the theory behind them

Srinivasan Venkataramanan

unread,
Mar 1, 2000, 3:00:00 AM3/1/00
to
Hi,
All operate in the same way as

destination_reg <= source_reg SRL <integer> ;

e.g.

switch_cntrl_reg <= switch_cntrl_reg SRL 1 ;

If you just give negative integers, you get the reverse!

Hope this helps.

Srini

--
Srinivasan V
IC Design Engineer,
Philips Semiconductors, Eindhoven,
The Netherlands
Steven Ross <steven...@strath.ac.uk> wrote in message
news:89j3po$ogh$1...@rockall.cc.strath.ac.uk...

Roman Tolesnikov

unread,
Mar 3, 2000, 3:00:00 AM3/3/00
to
I guess at also important to note that all of those operators are only
available in VHDL-93 and not VHDL-87. (Those and xnor) What a bummer.

Roman Tolesnikov.
UCLA VLSI System Laboratory.

0 new messages