Commit b7eab69e authored by Andrey Filippov's avatar Andrey Filippov

debugging, adding more parameters to fit

parent 50aca841
This diff is collapsed.
...@@ -42,7 +42,7 @@ import re ...@@ -42,7 +42,7 @@ import re
from argparse import ArgumentParser from argparse import ArgumentParser
#import argparse #import argparse
from argparse import RawDescriptionHelpFormatter from argparse import RawDescriptionHelpFormatter
import time
from import_verilog_parameters import ImportVerilogParameters from import_verilog_parameters import ImportVerilogParameters
#from import_verilog_parameters import VerilogParameters #from import_verilog_parameters import VerilogParameters
from verilog_utils import hx from verilog_utils import hx
...@@ -158,6 +158,7 @@ def getFuncArgsString(name): ...@@ -158,6 +158,7 @@ def getFuncArgsString(name):
#dflts #dflts
def main(argv=None): # IGNORE:C0111 def main(argv=None): # IGNORE:C0111
tim=time.time()
'''Command line options.''' '''Command line options.'''
global QUIET global QUIET
if argv is None: if argv is None:
...@@ -361,7 +362,8 @@ USAGE ...@@ -361,7 +362,8 @@ USAGE
if (args.interactive): if (args.interactive):
line ="" line =""
while True: while True:
line=raw_input('x393%s--> '%('','(simulated)')[args.simulated]).strip() line=raw_input('x393%s +%3.3fs--> '%(('','(simulated)')[args.simulated],(time.time()-tim))).strip()
tim=time.time()
#remove comment from the input line #remove comment from the input line
if line.find("#") > 0: if line.find("#") > 0:
line=line[:line.find("#")] line=line[:line.find("#")]
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment