generating blocks from hdl file means the file must be our standard file.

so make sure when you select the file, select the files under scicoshdl standard rules.