Skip to content

I use this IP to control attenuators on custom ADC control board

License

Notifications You must be signed in to change notification settings

aroshanineshat/SPI_Serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPI Serializer

I'm using this module to serialize a register to program several HMC792ALP4E.

Simulation

iverilog was used for simulation. It's definitely faster than Vivado. The IP then is moved to Vivado to be appended to a bigger design.

Make sure iverilog is installed. If you are using Ubuntu, it's there in the repository. To start the simulation, run the following:

~$ iverilog -Wall -o output module_tb.v SPI_Serializer.v
~$ vvp -lxt2 output

It will create a test.vcd with all the traces.

Plotting the digital waves

Install GTKwave (It's in your repo if you are using Ubuntu) and then simply do:

~$ gtkwave test.vcd

Diagrams

Here is the simulation output:

Simulation Output

and this is a timing diagram from the datasheet:

Datasheet Diagram

About

I use this IP to control attenuators on custom ADC control board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published