aaronhe
Junior Member level 2

- Joined
- Jul 10, 2007
- Messages
- 23
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Shenzhen in China
- Activity points
- 1,466
I've written a module "transquantop" which includes four sub_modules,"trans_sram,trans4x4,quanti and transctl". All these four submodules are synthesised and get the "*.db" files.
Then I written a top script as follow:
*************
set sub_modules {trans_sram quanti trans4x4 transctl}
foreach module $submodules{set syn_db $module.db read_db syn_db}
*************
The displayed error is:
Error:wrong #args:shoule be "foreach varlist ?varlist..? command"
Can anyone helpme debug my script. thanks in advance.
Then I written a top script as follow:
*************
set sub_modules {trans_sram quanti trans4x4 transctl}
foreach module $submodules{set syn_db $module.db read_db syn_db}
*************
The displayed error is:
Error:wrong #args:shoule be "foreach varlist ?varlist..? command"
Can anyone helpme debug my script. thanks in advance.