comparison modules/bluespec/Pygar/core/PathTypes.bsv @ 54:9b4f237e77e1 pygar svn.55

[svn r55] input a bit more parameterized
author punk
date Sun, 09 May 2010 12:24:35 -0400
parents 4d87fa55a776
children
comparison
equal deleted inserted replaced
53:2991344775f8 54:9b4f237e77e1
9 `define MAX_PATH_LENGTH 8 9 `define MAX_PATH_LENGTH 8
10 10
11 // The path is hardwired and so should never be stored in a register. Therefore int type rather than Bit type 11 // The path is hardwired and so should never be stored in a register. Therefore int type rather than Bit type
12 12
13 typedef Bit#(32) MemAddr; 13 typedef Bit#(32) MemAddr;
14 typedef Int#(TLog#(`MAX_PATH_IDS)) PathId; 14 typedef Int#(TLog#(`MAX_PATH_IDS)) PathId;
15 //typedef Int#(16) Sample; 15 //typedef Int#(16) Sample;
16 typedef Int#(TLog#(`MAX_VOICES)) VoiceId; 16 typedef Int#(TLog#(`MAX_VOICES)) VoiceId;
17 typedef Int#(8) Volume; // This is arbitrarily set to 8 bits or max val 256 17 typedef Int#(8) Volume; // This is arbitrarily set to 8 bits or max val 256
18 18
19 //The mixer is identified as PathId 0, path end is max 19 //The mixer is identified as PathId 0, path end is max