Skip to content

Commit

Permalink
staff update from: ece4750-tut4-verilog-0.0-350-gde03c8c
Browse files Browse the repository at this point in the history
  • Loading branch information
jsn1993 committed Aug 26, 2016
1 parent 66edc16 commit dce15f8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sim/tut4_verilog/gcd/gcd-sim
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ from GcdUnitFL import GcdUnitFL
from GcdUnitCL import GcdUnitCL
from GcdUnitRTL import GcdUnitRTL

from GcdUnitFL_test import TestHarness
from test.GcdUnitFL_test import TestHarness

#-------------------------------------------------------------------------
# Command line processing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

from pymtl import *
from pclib.test import run_sim
from GcdUnitCL import gcd, GcdUnitCL

from tut4_verilog.gcd.GcdUnitCL import gcd, GcdUnitCL

# Reuse tests from FL model

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from pclib.test import mk_test_case_table, run_sim
from pclib.test import TestSource, TestSink

from GcdUnitFL import GcdUnitFL
from GcdUnitMsg import GcdUnitReqMsg
from tut4_verilog.gcd.GcdUnitMsg import GcdUnitReqMsg
from tut4_verilog.gcd.GcdUnitFL import GcdUnitFL

#-------------------------------------------------------------------------
# TestHarness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Test suite for the GCD unit message

from pymtl import *
from GcdUnitMsg import GcdUnitReqMsg

from tut4_verilog.gcd.GcdUnitMsg import GcdUnitReqMsg

#-------------------------------------------------------------------------
# test_fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

from pymtl import *
from pclib.test import run_sim
from GcdUnitRTL import GcdUnitRTL

from tut4_verilog.gcd.GcdUnitRTL import GcdUnitRTL

# Reuse tests from FL model

Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ def test( impl, input_, test_verilog ):

# Get path to simulator script

sim_dir = os.path.dirname( os.path.abspath( __file__ ) )
sim = sim_dir + os.path.sep + 'gcd-sim'
test_dir = os.path.dirname( os.path.abspath( __file__ ) )
sim_dir = os.path.dirname( test_dir )
sim = sim_dir + os.path.sep + 'gcd-sim'

# Command

Expand Down

0 comments on commit dce15f8

Please sign in to comment.