An open API service indexing awesome lists of open source software.

https://github.com/elvircrn/psds-labs

VHDL Samples
https://github.com/elvircrn/psds-labs

logic-design vhdl

Last synced: 6 months ago
JSON representation

VHDL Samples

Awesome Lists containing this project

README

          

# Shifting
```
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

shifted <= to_stdlogicvector (to_bitvector (a) sll (signed(ctrl)));
shifted <= std_logic_vector(shift_left(signed(a), to_integer(unsigned(ctrl))));

```