实例介绍
Altera公司的资料,有许多问题自己不知道如何解决,看完这些资料后也许就会发现现成的方法,绝对值得一看。
【实例截图】
【核心代码】
cookbook
└── cookbook
├── arbitration
│ ├── arbiter_tb.v
│ ├── arbiter.v
│ ├── bitscan_tb.v
│ ├── bitscan.v
│ ├── log2.inc
│ ├── prio_encode.cpp
│ ├── prio_encode.v
│ ├── tx_4channel_arbiter_tb.sv
│ └── tx_4channel_arbiter.v
├── arithmetic
│ ├── adder_tree_layer.v
│ ├── adder_tree_node.v
│ ├── adder_tree_tb.v
│ ├── adder_tree.v
│ ├── addsub.v
│ ├── basic_adder.v
│ ├── compress_32.v
│ ├── cordic_angle_table.cpp
│ ├── cordic_tb.v
│ ├── cordic.v
│ ├── divider_tb.v
│ ├── divider.v
│ ├── double_addsub_tb.v
│ ├── double_addsub.v
│ ├── iter_addsub.v
│ ├── karatsuba_mult_tb.v
│ ├── karatsuba_mult.v
│ ├── lc_mult_signed_tb.v
│ ├── lc_mult_signed.v
│ ├── log2.inc
│ ├── make_comp.cpp
│ ├── make_sum.cpp
│ ├── mult_3tick.v
│ ├── mult_shift_tb.v
│ ├── mult_shift.v
│ ├── pipeline_add_msb.v
│ ├── pipeline_add_tb.v
│ ├── pipeline_add.v
│ ├── select_add_speed_test.v
│ ├── select_add.v
│ ├── six_three_comp.v
│ ├── split_add.v
│ ├── sum_of_3bit_pair.v
│ ├── sum_of_64.v
│ ├── ternary_add.v
│ ├── ternary_sum_nine.v
│ ├── thirtysix_six_comp.v
│ ├── three_two_comp.v
│ ├── twelve_four_comp.v
│ └── wide_compress.v
├── communication
│ ├── decoder_8b10b.v
│ ├── encoder_8b10b.v
│ ├── encoder_tb.v
│ ├── gearbox_20_67_tb.sv
│ ├── gearbox_20_67.v
│ ├── gearbox_32_33.v
│ ├── gearbox_32_66_tb.sv
│ ├── gearbox_32_66.v
│ ├── gearbox_33_32_tb.sv
│ ├── gearbox_33_32.v
│ ├── gearbox_40_67_tb.sv
│ ├── gearbox_40_67.v
│ ├── gearbox_66_32_tb.sv
│ ├── gearbox_66_32.v
│ ├── gearbox_67_20_tb.sv
│ ├── gearbox_67_20.v
│ ├── gearbox_67_40.v
│ ├── gear_expt2.cpp
│ ├── gear_expt.cpp
│ ├── parallax_gps.v
│ ├── two_to_one.v
│ ├── uart_hw_test.v
│ ├── uart_tb.v
│ ├── uart.v
│ ├── x4_decoder_8b10b.v
│ ├── x4_encoder_8b10b.v
│ └── x4_encoder_tb.sv
├── compare
│ ├── carry_and_speed_test.v
│ ├── carry_and_tb.v
│ ├── carry_and.v
│ ├── compare_masks.inc
│ ├── compare_tb.v
│ ├── cook.sh
│ ├── equal_const_tb.v
│ ├── equal_const.v
│ ├── highest_10.inc
│ ├── in_range_tb.v
│ ├── in_range.v
│ ├── less_than_const.v
│ ├── log2.inc
│ ├── match_or_inv_tb.v
│ ├── match_or_inv.v
│ ├── min_max_tb.v
│ ├── min_max.v
│ ├── over_under.v
│ ├── pipe_equal_tb.v
│ ├── pipe_equal.v
│ └── tester.cpp
├── counter
│ ├── cntr_modulus_la.v
│ ├── cntr_modulus.v
│ ├── cntr_updn.v
│ ├── cntr.v
│ ├── counter_tb.v
│ ├── gray_cntr_la.v
│ ├── gray_cntr_tb.v
│ ├── gray_cntr.v
│ ├── seconds_counter_tb.v
│ ├── seconds_counter.v
│ ├── system_timer_tb.v
│ └── system_timer.v
├── crc
│ ├── crc16_dat16.v
│ ├── crc16_dat24.v
│ ├── crc16_dat32.v
│ ├── crc16_dat8.v
│ ├── crc24_dat64_only_flat.v
│ ├── crc24_dat64.v
│ ├── crc24_zer64_flat.v
│ ├── crc24_zer64x2_flat.v
│ ├── crc24_zer64x3_flat.v
│ ├── crc32_128_tb.v
│ ├── crc32c_dat32.v
│ ├── crc32c_dat64_only.v
│ ├── crc32c_dat64.v
│ ├── crc32c_tb.sv
│ ├── crc32c_zer64.v
│ ├── crc32_dat104.v
│ ├── crc32_dat112.v
│ ├── crc32_dat120.v
│ ├── crc32_dat128_any_byte.v
│ ├── crc32_dat128.v
│ ├── crc32_dat16.v
│ ├── crc32_dat24.v
│ ├── crc32_dat32_any_byte.v
│ ├── crc32_dat32.v
│ ├── crc32_dat40.v
│ ├── crc32_dat48.v
│ ├── crc32_dat56.v
│ ├── crc32_dat64_any_byte.v
│ ├── crc32_dat64.v
│ ├── crc32_dat72.v
│ ├── crc32_dat80.v
│ ├── crc32_dat88.v
│ ├── crc32_dat8.v
│ ├── crc32_dat96.v
│ ├── crc32_tb.v
│ ├── crc_ethernet.v
│ ├── crc_register.v
│ └── xor6.v
├── crypto
│ ├── aes
│ │ ├── aes_128.cpp
│ │ ├── aes_128_tb.v
│ │ ├── aes_128.v
│ │ ├── aes_256.cpp
│ │ ├── aes_256_tb.v
│ │ ├── aes_256.v
│ │ ├── aes_round_128.v
│ │ ├── aes_round_256.v
│ │ ├── evolve_key_256_tb.v
│ │ ├── evolve_key.v
│ │ ├── mix_columns.v
│ │ ├── shift_rows.cpp
│ │ ├── shift_rows.v
│ │ ├── sub_bytes.cpp
│ │ └── sub_bytes.v
│ ├── des
│ │ ├── des_tb.v
│ │ ├── des.v
│ │ ├── round.v
│ │ ├── sboxes.v
│ │ └── ucrypt.v
│ ├── rc4
│ │ ├── rc4.cpp
│ │ ├── rc4_tb.v
│ │ └── rc4.v
│ └── sha
│ ├── delay_reg_tb.v
│ ├── delay_reg.v
│ ├── log2.inc
│ ├── sha384_tb.v
│ ├── sha512_tb.v
│ ├── sha512.v
│ ├── sha_padding_b_tb.v
│ ├── sha_padding_c_tb.v
│ ├── sha_padding_tb.v
│ └── sha_padding.v
├── debug
│ ├── bin_to_asc_hex.v
│ ├── clock_crossing_fifo.v
│ ├── four_lane_jtag_probe.v
│ ├── jtag_to_c_probe.v
│ ├── log2.inc
│ ├── quad_stream_grabber_tb.sv
│ ├── quad_stream_grabber.v
│ ├── read_c_probe.cpp
│ ├── read_c_probe.h
│ ├── stream_grabber_tb.sv
│ ├── stream_grabber.v
│ └── stream_mux.v
├── ecc
│ ├── ecc_16bit_tb.v
│ ├── ecc_2bit.cpp
│ ├── ecc_2bit_tb.v
│ ├── ecc_2bit.v
│ ├── ecc_32bit_tb.v
│ ├── ecc_64bit_tb.v
│ ├── ecc_8bit_tb.v
│ ├── ecc_generate.cpp
│ ├── ecc_matrix_16bit.v
│ ├── ecc_matrix_32bit.v
│ ├── ecc_matrix_64bit.v
│ ├── ecc_matrix_8bit.v
│ ├── log2.inc
│ ├── ram_block.v
│ ├── ram_speed_test.v
│ ├── reed_sol.cpp
│ ├── reed_sol.v
│ ├── soft_ecc_ram_16bit_tb.v
│ ├── soft_ecc_ram_16bit.v
│ ├── soft_ecc_ram_32bit_tb.v
│ ├── soft_ecc_ram_32bit.v
│ ├── soft_ecc_ram_64bit_tb.v
│ ├── soft_ecc_ram_64bit.v
│ ├── soft_ecc_ram_8bit.v
│ └── xor6.v
├── float
│ ├── approx_fp_div_lut.v
│ ├── approx_fp_div_tb.v
│ ├── approx_fp_div.v
│ ├── approx_fp_invsqrt_tb.v
│ ├── approx_fp_invsqrt.v
│ ├── approx_fp_sqrt_tb.v
│ ├── approx_fp_sqrt.v
│ ├── div_tbl_gen.cpp
│ ├── fixed_to_float_tb.v
│ ├── fixed_to_float.v
│ ├── float_to_fixed.v
│ ├── inv_sqrt.tbl
│ ├── mult_3tick.v
│ ├── scale_up.v
│ └── test_stimulus.cpp
├── muxing
│ ├── barrel_shift.v
│ ├── bus_mux.v
│ ├── eight_to_one_tb.v
│ ├── eight_to_one.v
│ ├── eight_to_twenty.v
│ ├── five_to_twenty.v
│ ├── log2.inc
│ ├── pipelined_word_mux_tb.v
│ ├── pipelined_word_mux.v
│ ├── priority_mux_tb.v
│ ├── priority_mux.v
│ ├── rotate_internal.v
│ ├── shift_tb.v
│ ├── simple_mux.v
│ ├── twenty_to_eight_tb.sv
│ ├── twenty_to_eight.v
│ ├── twenty_to_five_tb.sv
│ └── twenty_to_five.v
├── random
│ ├── bilbo_lfsr_tb.v
│ ├── bilbo_lfsr.v
│ ├── chain_delay_adjust.v
│ ├── chain_delay_race.v
│ ├── chain_delay_rand.v
│ ├── c_rand.v
│ ├── lfsr_test.v
│ ├── lfsr.v
│ ├── log2.inc
│ ├── make_scrambler.cpp
│ ├── pipelined_word_mux.v
│ ├── rand_test.cpp
│ ├── rand_test.v
│ ├── ring_counter.v
│ ├── unstable_counters.v
│ ├── word_stream_scramble_tb.v
│ └── word_stream_scramble.v
├── register
│ ├── buf_2to3.v
│ ├── buf_3to2.v
│ ├── buffer_tb.v
│ ├── cam_ram_block_tb.v
│ ├── cam_ram_block.v
│ ├── fifo_hw_test_tb.v
│ ├── fifo_hw_test.v
│ ├── fifo_tb.v
│ ├── fifo.v
│ ├── flag_array.v
│ ├── ram_based_cam_tb.v
│ ├── ram_based_cam.v
│ ├── ram_block.v
│ ├── ram_delay_reg_tb.v
│ ├── ram_delay_reg.v
│ ├── ready_skid_tb.sv
│ ├── ready_skid.v
│ ├── reg_based_cam_tb.v
│ ├── reg_based_cam.v
│ ├── reg_cam_cell.v
│ ├── register_bank_tb.v
│ ├── register_bank.v
│ ├── rx_buffer_fifo_2_tb.sv
│ ├── rx_buffer_fifo_2.v
│ ├── simple_quad_tb.v
│ ├── simple_quad.v
│ ├── test_pattern.v
│ └── tx_buffer_fifo_8word.v
├── stx_cookbook.pdf
├── synchronization
│ ├── clock_follow.v
│ ├── clock_mux_tb.v
│ ├── clock_mux.v
│ ├── reset_control_tb.v
│ ├── reset_control.v
│ ├── reset_filter.v
│ └── synchronizer.v
├── translation
│ ├── asc_hex_to_nybble.v
│ ├── asc_to_7seg.v
│ ├── asc_to_lcd.v
│ ├── bcd_add_chain.v
│ ├── bin_to_7seg.v
│ ├── bin_to_asc_hex.v
│ ├── bin_to_dec_tb.v
│ ├── bin_to_dec.v
│ ├── bin_to_gray.v
│ ├── gray_tb.v
│ ├── gray_to_bin.v
│ ├── log2.inc
│ ├── make_mask.cpp
│ ├── mask_16.v
│ ├── mask_32.v
│ ├── mask_tb.v
│ ├── one_hot_tb.v
│ ├── onehot_to_bin.v
│ └── one_hot.v
├── utility
│ ├── build_float_vpi.sh
│ ├── clean.sh
│ ├── float_vpi.cpp
│ ├── legal.cpp
│ ├── legal.txt
│ ├── log2.inc
│ ├── make_case_tb.v
│ ├── msim_all.sh
│ ├── quartus_all.sh
│ ├── reverse_32.inc
│ ├── reverse_8.inc
│ ├── txt_to_c.cpp
│ └── vpi_user.h
└── video
├── bmp_to_font.cpp
├── display_char_tb.sv
├── display_char.v
├── double_addsub.v
├── eightbyeight_sad_tb.v
├── eightbyeight_sad_test.v
├── eightbyeight_sad.v
├── font.bmp
├── font_rom.v
├── fourbyfour_sad_tb.v
├── fourbyfour_sad.v
├── frame.bin
├── log2.inc
├── pair_sad.v
├── rgb_to_hue_tb.v
├── rgb_to_hue.v
├── ternary_add.v
├── vga_driver.v
├── ycbcr_to_rgb_tb.v
└── ycbcr_to_rgb.v
22 directories, 355 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论