Skip to content

Twenkid/ASIC-FPGA-Verilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASIC-FPGA-Verilog

Two training tasks:

  1. Sum Channels DSP ... by Krassimir and Todor/Twenkid
  2. Data Cache Tag Mechanism by Todor Arnaudov

ASIC, FPGA, Verilog projects and materials

Sum Channels DSP ...

The block is used to maintain the history of symbols in a DSP system. It provides the sum of the last 4 or 8 valid values, coming to the block from 64 input channels. The sum goes to the output 5 clocks after data has arrived, including the latest valid data on data_in. The system also provides valid sum even if only one valid data item is received for a channel.

The input data is 8 bit wide and is treated as unsigned.

image

Data Cache Tag Mechanism

This block is an example of logical implementation of the tag-mechanism of a 4-way set associative copyback data cache. However, it must be explicitly stated, that the system does not work with appropriate timing for a real cache design, i.e. one result at every clock. The design is done following standard methodology of splitting the logic in pipelines, in order to shorten the length of gates that the signal passes in one clock, instead of achieving extreme timing performance.

The cache consists of 1024 tags (256 x 4), has line width of 8 words. It maintains dirty indication and least recently used (LRU) replacement policy, and is able to react on a microcontroller transaction in 6 clocks, which is what makes the design not suitable for practical use.

image

About

ASIC, FPGA, Verilog projects and materials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published