Подскажите пожалуйста! С помощью MATLAB и Filter Design HDL Coder был создан vhdl файл. Можно ли с помощью комментариев добавляемых матлабом в данный файл воссоздать его первоначальный вид? Или как сделать то же самое по vhdl-коду? Матлабовский коммент представлен ниже:
-- Module: lowpass400kHz_4mHz_16 -- -- Generated by MATLAB® 7.8 and the Filter Design HDL Coder 2.4. -- -- -- -------------------------------------------------------------
-- ------------------------------------------------------------- -- HDL Code Generation Options: -- -- TargetLanguage: VHDL -- FIRAdderStyle: tree -- OptimizeForHDL: on -- ClockEnableInputPort: clk_en -- ResetInputPort: res -- TargetDirectory: C:\Actelprj -- AddPipelineRegisters: on -- InputPort: f_in -- OutputPort: f_out -- Name: lowpass400kHz_4mHz_16 -- DALUTPartition: [8 8 1] -- TestBenchName: Hlp2_tb -- -- Filter Settings: -- -- Discrete-Time FIR Filter (real) -- ------------------------------- -- Filter Structure : Direct-Form FIR -- Filter Length : 17 -- Stable : Yes -- Linear Phase : Yes (Type 1) -- Arithmetic : fixed -- Numerator : s12,14 -> [-1.250000e-001 1.250000e-001) -- Input : s12,11 -> [-1 1) -- Filter Internals : Full Precision -- Output : s26,25 -> [-1 1) (auto determined) -- Product : s23,25 -> [-1.250000e-001 1.250000e-001) (auto determined) -- Accumulator : s26,25 -> [-1 1) (auto determined) -- Round Mode : No rounding -- Overflow Mode : No overflow
|