All About Circuits

VHDL Package for Easy to Read and Write Wave files



VHDL Package for Easy to Read and Write Wave files

Details

Category: Uncategorized

Created: Aug 24, 2008

Updated: Jan 27, 2020

Other project properties

Development Status: Stable

WishBone compliant: No

WishBone version: n/a

License: n/a

Description

This short and simple package makes it easy to read and write wave files for signal processing in simulations.
This is usefull if you want to check your simulation results with Octave.

Features


There are no restrictions about the numbers of channels or the sampling rate, but it only supports the uncompressed 8, 16 or 32 bit little endian format for now.

CreatePackage.m is an very simple Octave script, which generate constant VHDL arrays for eg. filter coefficients or testpatterns.
For now only one dimesion is supported.

Status

- Production Status
All tested but only from a single person.

bugfix: reading wave file samples now signed 12.10.2008

- Features for the future
package wavefiles:

support float data type

script CreatePackage:

support more dimensions
support cell array for additional lines eg.
include = 'use ieee.numeric_bit.all;'