minor fixes
This commit is contained in:
@@ -160,10 +160,10 @@
|
||||
"afu/vortex/cluster/core/pipeline/execute/gpu_unit": {
|
||||
"?gpu_rsp_valid": 1,
|
||||
"gpu_rsp_wid": "`NW_BITS",
|
||||
"gpu_rsp_tmc": "`GPU_TMC_BITS",
|
||||
"gpu_rsp_wspawn": "`GPU_WSPAWN_BITS",
|
||||
"gpu_rsp_split": "`GPU_SPLIT_BITS",
|
||||
"gpu_rsp_barrier": "`GPU_BARRIER_BITS"
|
||||
"gpu_rsp_tmc": 1,
|
||||
"gpu_rsp_wspawn": 1,
|
||||
"gpu_rsp_split": 1,
|
||||
"gpu_rsp_barrier": 1
|
||||
},
|
||||
"afu/vortex/cluster/core/pipeline/execute/lsu_unit": {
|
||||
"?dcache_req_fire":"`NUM_THREADS",
|
||||
|
||||
@@ -398,6 +398,8 @@ def eval_node(text, params):
|
||||
try:
|
||||
__text = text.replace('$clog2', '__clog2')
|
||||
__text = translate_ternary(__text)
|
||||
__text = __text.replace('||', 'or')
|
||||
__text = __text.replace('&&', 'and')
|
||||
e = eval(__text, {'__clog2': clog2})
|
||||
return e
|
||||
except (NameError, SyntaxError):
|
||||
|
||||
Reference in New Issue
Block a user