コードをコンパイルしてみました
module counter(
input clk,
input upSignal,
input downSignal,
output [7:0] count
);
always_ff @(posedge clk) begin
if (upSignal)
count <= count + 1;
else if (downSignal)
count <= count - 1;
end
endmodule
しかし、私はエラーが発生します
Error (10170): Verilog HDL syntax error at counter.v(7) near text "@"; expecting ".", or "("
どういう意味ですか?