summaryrefslogtreecommitdiff
path: root/usrp2/fpga/models
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2009-08-31 12:08:30 -0700
committerJohnathan Corgan <jcorgan@corganenterprises.com>2009-08-31 12:08:30 -0700
commit7eea883c377f64862a4d83f1b33a83fdf3cfc392 (patch)
tree2c4b4d32c28e331cea42b16e001e89a74eb3b3e2 /usrp2/fpga/models
parent1aa216df204197b4849581dd4f42b2e7680eb72f (diff)
Merged SVN matt/new_eth r10782:11633 into new_eth
* svn diff http://gnuradio.org/svn/branches/developers/matt/new_eth -r10782:11633 * Patch applied with no conflicts or fuzz.
Diffstat (limited to 'usrp2/fpga/models')
-rw-r--r--usrp2/fpga/models/adc_model.v5
1 files changed, 2 insertions, 3 deletions
diff --git a/usrp2/fpga/models/adc_model.v b/usrp2/fpga/models/adc_model.v
index 247472c35d..e5a3ee0d86 100644
--- a/usrp2/fpga/models/adc_model.v
+++ b/usrp2/fpga/models/adc_model.v
@@ -22,10 +22,9 @@ module adc_model
assign adc_ovf_b = adc_oe_b ? 1'b0 : 1'bz;
real phase = 0;
- real sample_rate = 100000000;
- real freq = 330000/sample_rate; // 330 kHz
+ real freq = 330000/100000000;
- real scale = math.pow(2,13)-2;
+ real scale = 8190; // math.pow(2,13)-2;
always @(posedge clk)
if(rst)
begin