read_verilog ../top.v
proc
tee -o result.log chparam -set X 2 top
tee -o result.log chparam -list