Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

native Verilog pcap, littletoe, bcd, xml and hash modules, with Icarus testbenches

NotificationsYou must be signed in to change notification settings

JehandadKhan/verilog-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcap (sim)

Pure Verilog module to replay a packets from Wireshark/tcpdump pcap file over a single-byte busfor use in network handling test benches.
http://wiki.wireshark.org/Development/LibpcapFileFormat

littletoe (synth)

Basic 1G line-speed, read-only MAC/IP/TCP stack to follow a specific TCP session at the data level. Otherwise known as a TCP Offload Engine, or ToE. Works from a wire-format EthernetII MAC, and can simulate from .pcap files usingpcap module above. Simply tune in the src/dest IP:port details and follow the gated data output.

bcd (synth)

Convertor from binary to binary coded decimal (BCD).bin2bcd_serial.v can be sythesised to any required width and takes one cycle per input binary bit.

xml (synth)

A scanner/parser to parse XML documents. Tracks tag nesting stack (8 deep), tag key/value/data, comments/data/tag stream. Outpus control signals synchronised with delayed datastream. Uses an internal 4-byte look-ahead for processing, which can be flushed with EOM input.

hash

jenkins.v - a framed byte-wise Jenkins hash-code calculator
serialMap.v - a key-to-value map data structure. Implemented using a linear probe looked seeded by the key's hash. Module parameterised by k/v sizes.

altera

Code from the Altera cookbook modified to simulate in Icarus.
http://www.altera.com/literature/manual/stx_cookbook.pdf

scramble

Scrambler/descrambler serial/parallel pairs.

Testbenches

Test benches can be rebuilt withmake assuming you haveivp andiverilog on your path.
Simulation waveforms are written to lxt2 format and are opened withgtkwave when a bench/implementation is rebuilt.
Save files for gtkwave (gtksav/*.sav) are included to setup zoom and signals.

About

native Verilog pcap, littletoe, bcd, xml and hash modules, with Icarus testbenches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Verilog89.5%
  • Python9.3%
  • Other1.2%

[8]ページ先頭

©2009-2025 Movatter.jp