Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例えば、
モジュールMM;
MMmm[128]();
mm[i].signle1,i を 0 から 120 まで取得したいのですが、for が使えず、120 文も書きたくないです。
私に何ができる?
ポートのリストを作成し、forループを使用できます。
signals : list of simple_port of bit is instance; keep signals.size() == 128; keep for each (s) in signals { s.hdl_path() == append("mm[",dec(i),"].signal1"); };