Wade Fife
14dc3950cf
sim: Parameterize chdr_word_t data type
...
This replaces chdr_word_t, which was a statically defined 64-bit data
type, with a paramaterizable data type that matches the defined CHDR_W.
Code that formerly referenced the chdr_word_t data type can now define
the data type for their desired CHDR_W and ITEM_W as follows:
// Define the CHDR word and item/sample data types
typedef ChdrData #(CHDR_W, ITEM_W)::chdr_word_t chdr_word_t;
typedef ChdrData #(CHDR_W, ITEM_W)::item_t item_t;
ITEM_W is optional when defining chdr_word_t if items are not
needed. Static methods in the ChdrData class also provide the ability to
convert between CHDR words and data items. For example:
// Convert CHDR data buffer to a buffer of samples
samples = ChdrData#(CHDR_W, ITEM_W)::chdr_to_item(data);
Original-commit: fc895feacb8dde3b02c9a4eccb4b4f4a654f2881
2020-03-09 13:43:05 -05:00
..
2020-03-09 13:43:05 -05:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-03-09 13:43:05 -05:00
2020-03-09 13:40:17 -05:00
2020-02-19 13:27:16 -06:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00
2020-01-28 09:35:36 -08:00