资源简介

Vivado System Generator 官网UG948资源,含部分个人笔记。

资源截图

代码片段和文件信息

function matched = state_machine(din)

persistent state state = xl_state(0{xlUnsigned 3 0});

switch state
    case 0
        if din == 1
            state = 1;
        else
            state = 0;
        end
        matched = 0;
    case 1
        if din == 0
            state = 2;
        else
            state = 0;
        end
        matched = 0;
    case 2
        if din == 1
            state = 3;
        else
            state = 0;
        end
        matched = 0;
    case 3
        if din == 1
            state = 4;
        else
            state = 2; 
        end
        matched = 0;
    case 4
        if din == 0;
            state = 0;
        else
            state = 1;
        end
        matched = 1;
    otherwise
        state = 0;
        matched = 0;
end


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     5372275  2014-11-23 21:18  ug948-vivado-sysgen-tutorial.pdf
     目录           0  2013-03-24 03:18  lab1\
     目录           0  2014-05-19 03:07  lab10\
     文件       20833  2013-11-07 02:54  lab10\rgb2gray.slx
     目录           0  2014-05-19 03:07  lab11\
     目录           0  2014-05-19 03:07  lab11\example1\
     文件       26383  2014-04-03 11:32  lab11\example1\black_box_ex1.slx
     文件        1330  2013-11-09 14:14  lab11\example1\mac.vhd
     文件        2334  2013-11-09 14:14  lab11\example1\transpose_fir.vhd
     目录           0  2014-05-19 03:07  lab2\
     文件       14212  2014-04-03 02:52  lab2\lab2.slx
     目录           0  2014-05-19 03:24  lab2\solution\
     目录           0  2014-05-19 03:19  lab2\solution\part2\
     文件       21076  2014-04-03 02:57  lab2\solution\part2\lab2_part2_solution.slx
     目录           0  2014-05-19 03:20  lab2\solution\part4\
     文件       26107  2014-04-03 02:49  lab2\solution\part4\lab2_part4_solution1.slx
     文件       35105  2014-04-03 03:03  lab2\solution\part4\lab2_part4_solution2.slx
     目录           0  2014-05-19 03:07  lab3\
     目录           0  2014-05-19 03:07  lab3\solution\
     文件       21280  2013-03-24 10:40  lab3\solution\lab3_padding_solution.slx
     文件       20067  2013-03-24 10:41  lab3\solution\lab3_unpadding_solution.slx
     目录           0  2014-05-19 03:07  lab4\
     文件       15800  2013-03-24 12:22  lab4\lab4.slx
     目录           0  2014-05-19 03:07  lab4\solution\
     文件       19307  2013-03-24 12:19  lab4\solution\lab4_solution.slx
     文件         832  2013-02-17 04:43  lab4\solution\state_machine.m
     目录           0  2014-05-19 03:07  lab5\
     目录           0  2014-05-19 03:07  lab5\solution\
     文件       23189  2014-05-06 07:00  lab5\solution\lab5_downsample_solution.slx
     文件       26121  2014-05-06 07:15  lab5\solution\lab5_parallel2serial_solution.slx
     文件       25966  2014-05-06 07:05  lab5\solution\lab5_serial2parallel_solution.slx
............此处省略53个文件信息

评论

共有 条评论