亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? can_bsp.v

?? 主要是說明can總線協議使用fpga的ip核實現
?? V
?? 第 1 頁 / 共 5 頁
字號:
//////////////////////////////////////////////////////////////////////////                                                              ////////  can_bsp.v                                                   ////////                                                              ////////                                                              ////////  This file is part of the CAN Protocol Controller            ////////  http://www.opencores.org/projects/can/                      ////////                                                              ////////                                                              ////////  Author(s):                                                  ////////       Igor Mohor                                             ////////       igorm@opencores.org                                    ////////                                                              ////////                                                              ////////  All additional information is available in the README.txt   ////////  file.                                                       ////////                                                              //////////////////////////////////////////////////////////////////////////////                                                              //////// Copyright (C) 2002, 2003, 2004 Authors                       ////////                                                              //////// This source file may be used and distributed without         //////// restriction provided that this copyright statement is not    //////// removed from the file and that any derivative work contains  //////// the original copyright notice and the associated disclaimer. ////////                                                              //////// This source file is free software; you can redistribute it   //////// and/or modify it under the terms of the GNU Lesser General   //////// Public License as published by the Free Software Foundation; //////// either version 2.1 of the License, or (at your option) any   //////// later version.                                               ////////                                                              //////// This source is distributed in the hope that it will be       //////// useful, but WITHOUT ANY WARRANTY; without even the implied   //////// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //////// PURPOSE.  See the GNU Lesser General Public License for more //////// details.                                                     ////////                                                              //////// You should have received a copy of the GNU Lesser General    //////// Public License along with this source; if not, download it   //////// from http://www.opencores.org/lgpl.shtml                     ////////                                                              //////// The CAN protocol is developed by Robert Bosch GmbH and       //////// protected by patents. Anybody who wants to implement this    //////// CAN IP core on silicon has to obtain a CAN protocol license  //////// from Bosch.                                                  ////////                                                              ////////////////////////////////////////////////////////////////////////////// CVS Revision History//// $Log: can_bsp.v,v $// Revision 1.53  2004/11/22 19:18:03  igorm// Arbitration capture register changed. SW reset (setting the reset_mode bit)// doesn't work as HW reset.//// Revision 1.52  2004/11/18 12:39:21  igorm// Fixes for compatibility after the SW reset.//// Revision 1.51  2004/11/15 18:23:21  igorm// When CAN was reset by setting the reset_mode signal in mode register, it// was possible that CAN was blocked for a short period of time. Problem// occured very rarly.//// Revision 1.50  2004/10/27 18:51:36  igorm// Fixed synchronization problem in real hardware when 0xf is used for TSEG1.//// Revision 1.49  2004/10/25 06:37:51  igorm// Arbitration bug fixed.//// Revision 1.48  2004/05/12 15:58:41  igorm// Core improved to pass all tests with the Bosch VHDL Reference system.//// Revision 1.47  2004/02/08 14:24:10  mohor// Error counters changed.//// Revision 1.46  2003/10/17 05:55:20  markom// mbist signals updated according to newest convention//// Revision 1.45  2003/09/30 21:14:33  mohor// Error counters changed.//// Revision 1.44  2003/09/30 00:55:12  mohor// Error counters fixed to be compatible with Bosch VHDL reference model.// Small synchronization changes.//// Revision 1.43  2003/09/25 18:55:49  mohor// Synchronization changed, error counters fixed.//// Revision 1.42  2003/08/29 07:01:14  mohor// When detecting bus-free, signal bus_free_cnt_en was cleared to zero// although the last sampled bit was zero instead of one.//// Revision 1.41  2003/07/18 15:23:31  tadejm// Tx and rx length are limited to 8 bytes regardless to the DLC value.//// Revision 1.40  2003/07/16 15:10:17  mohor// Fixed according to the linter.//// Revision 1.39  2003/07/16 13:12:46  mohor// Fixed according to the linter.//// Revision 1.38  2003/07/10 01:59:04  tadejm// Synchronization fixed. In some strange cases it didn't work according to// the VHDL reference model.//// Revision 1.37  2003/07/07 11:21:37  mohor// Little fixes (to fix warnings).//// Revision 1.36  2003/07/03 09:32:20  mohor// Synchronization changed.//// Revision 1.35  2003/06/27 20:56:12  simons// Virtual silicon ram instances added.//// Revision 1.34  2003/06/22 09:43:03  mohor// synthesi full_case parallel_case fixed.//// Revision 1.33  2003/06/21 12:16:30  mohor// paralel_case and full_case compiler directives added to case statements.//// Revision 1.32  2003/06/17 14:28:32  mohor// Form error was detected when stuff bit occured at the end of crc.//// Revision 1.31  2003/06/16 14:31:29  tadejm// Bit stuffing corrected when stuffing comes at the end of the crc.//// Revision 1.30  2003/06/16 13:57:58  mohor// tx_point generated one clk earlier. rx_i registered. Data corrected when// using extended mode.//// Revision 1.29  2003/06/11 14:21:35  mohor// When switching to tx, sync stage is overjumped.//// Revision 1.28  2003/03/01 22:53:33  mohor// Actel APA ram supported.//// Revision 1.27  2003/02/20 00:26:02  mohor// When a dominant bit was detected at the third bit of the intermission and// node had a message to transmit, bit_stuff error could occur. Fixed.//// Revision 1.26  2003/02/19 23:21:54  mohor// When bit error occured while active error flag was transmitted, counter was// not incremented.//// Revision 1.25  2003/02/19 14:44:03  mohor// CAN core finished. Host interface added. Registers finished.// Synchronization to the wishbone finished.//// Revision 1.24  2003/02/18 00:10:15  mohor// Most of the registers added. Registers "arbitration lost capture", "error code// capture" + few more still need to be added.//// Revision 1.23  2003/02/14 20:17:01  mohor// Several registers added. Not finished, yet.//// Revision 1.22  2003/02/12 14:23:59  mohor// abort_tx added. Bit destuff fixed.//// Revision 1.21  2003/02/11 00:56:06  mohor// Wishbone interface added.//// Revision 1.20  2003/02/10 16:02:11  mohor// CAN is working according to the specification. WB interface and more// registers (status, IRQ, ...) needs to be added.//// Revision 1.19  2003/02/09 18:40:29  mohor// Overload fixed. Hard synchronization also enabled at the last bit of// interframe.//// Revision 1.18  2003/02/09 02:24:33  mohor// Bosch license warning added. Error counters finished. Overload frames// still need to be fixed.//// Revision 1.17  2003/02/04 17:24:41  mohor// Backup.//// Revision 1.16  2003/02/04 14:34:52  mohor// *** empty log message ***//// Revision 1.15  2003/01/31 01:13:37  mohor// backup.//// Revision 1.14  2003/01/16 13:36:19  mohor// Form error supported. When receiving messages, last bit of the end-of-frame// does not generate form error. Receiver goes to the idle mode one bit sooner.// (CAN specification ver 2.0, part B, page 57).//// Revision 1.13  2003/01/15 21:59:45  mohor// Data is stored to fifo at the end of ack stage.//// Revision 1.12  2003/01/15 21:05:11  mohor// CRC checking fixed (when bitstuff occurs at the end of a CRC sequence).//// Revision 1.11  2003/01/15 14:40:23  mohor// RX state machine fixed to receive "remote request" frames correctly.// No data bytes are written to fifo when such frames are received.//// Revision 1.10  2003/01/15 13:16:47  mohor// When a frame with "remote request" is received, no data is stored to// fifo, just the frame information (identifier, ...). Data length that// is stored is the received data length and not the actual data length// that is stored to fifo.//// Revision 1.9  2003/01/14 12:19:35  mohor// rx_fifo is now working.//// Revision 1.8  2003/01/10 17:51:33  mohor// Temporary version (backup).//// Revision 1.7  2003/01/09 21:54:45  mohor// rx fifo added. Not 100 % verified, yet.//// Revision 1.6  2003/01/09 14:46:58  mohor// Temporary files (backup).//// Revision 1.5  2003/01/08 13:30:31  mohor// Temp version.//// Revision 1.4  2003/01/08 02:10:53  mohor// Acceptance filter added.//// Revision 1.3  2002/12/28 04:13:23  mohor// Backup version.//// Revision 1.2  2002/12/27 00:12:52  mohor// Header changed, testbench improved to send a frame (crc still missing).//// Revision 1.1.1.1  2002/12/20 16:39:21  mohor// Initial//////// synopsys translate_off`include "timescale.v"// synopsys translate_on`include "can_defines.v"module can_bsp(   clk,  rst,  sample_point,  sampled_bit,  sampled_bit_q,  tx_point,  hard_sync,  addr,  data_in,  data_out,  fifo_selected,    /* Mode register */  reset_mode,  listen_only_mode,  acceptance_filter_mode,  self_test_mode,  /* Command register */  release_buffer,  tx_request,  abort_tx,  self_rx_request,  single_shot_transmission,  tx_state,  tx_state_q,  overload_request,  overload_frame,  /* Arbitration Lost Capture Register */  read_arbitration_lost_capture_reg,  /* Error Code Capture Register */  read_error_code_capture_reg,  error_capture_code,  /* Error Warning Limit register */  error_warning_limit,  /* Rx Error Counter register */  we_rx_err_cnt,  /* Tx Error Counter register */  we_tx_err_cnt,  /* Clock Divider register */  extended_mode,  rx_idle,  transmitting,  transmitter,  go_rx_inter,  not_first_bit_of_inter,  rx_inter,  set_reset_mode,  node_bus_off,  error_status,  rx_err_cnt,  tx_err_cnt,  transmit_status,  receive_status,  tx_successful,  need_to_tx,  overrun,  info_empty,  set_bus_error_irq,  set_arbitration_lost_irq,  arbitration_lost_capture,  node_error_passive,  node_error_active,  rx_message_counter,  /* This section is for BASIC and EXTENDED mode */  /* Acceptance code register */  acceptance_code_0,  /* Acceptance mask register */  acceptance_mask_0,  /* End: This section is for BASIC and EXTENDED mode */    /* This section is for EXTENDED mode */  /* Acceptance code register */  acceptance_code_1,  acceptance_code_2,  acceptance_code_3,  /* Acceptance mask register */  acceptance_mask_1,  acceptance_mask_2,  acceptance_mask_3,  /* End: This section is for EXTENDED mode */    /* Tx data registers. Holding identifier (basic mode), tx frame information (extended mode) and data */  tx_data_0,  tx_data_1,  tx_data_2,  tx_data_3,  tx_data_4,  tx_data_5,  tx_data_6,  tx_data_7,  tx_data_8,  tx_data_9,  tx_data_10,  tx_data_11,  tx_data_12,  /* End: Tx data registers */    /* Tx signal */  tx,  tx_next,  bus_off_on,  go_overload_frame,  go_error_frame,  go_tx,  send_ack  /* Bist */`ifdef CAN_BIST  ,  mbist_si_i,  mbist_so_o,  mbist_ctrl_i`endif);parameter Tp = 1;input         clk;input         rst;input         sample_point;input         sampled_bit;input         sampled_bit_q;input         tx_point;input         hard_sync;input   [7:0] addr;input   [7:0] data_in;output  [7:0] data_out;input         fifo_selected;input         reset_mode;input         listen_only_mode;input         acceptance_filter_mode;input         extended_mode;input         self_test_mode;/* Command register */input         release_buffer;input         tx_request;input         abort_tx;input         self_rx_request;input         single_shot_transmission;output        tx_state;output        tx_state_q;input         overload_request;     // When receiver is busy, it needs to send overload frame. Only 2 overload frames are allowed tooutput        overload_frame;       // be send in a row. This is not implemented, yet,  because host can not send an overload request./* Arbitration Lost Capture Register */input         read_arbitration_lost_capture_reg;/* Error Code Capture Register */input         read_error_code_capture_reg;output  [7:0] error_capture_code;/* Error Warning Limit register */input   [7:0] error_warning_limit;/* Rx Error Counter register */input         we_rx_err_cnt;/* Tx Error Counter register */input         we_tx_err_cnt;output        rx_idle;output        transmitting;output        transmitter;output        go_rx_inter;output        not_first_bit_of_inter;output        rx_inter;output        set_reset_mode;output        node_bus_off;output        error_status;output  [8:0] rx_err_cnt;output  [8:0] tx_err_cnt;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲高清一区二区三区不卡| 国产色婷婷亚洲99精品小说| 久久综合狠狠综合久久综合88| 国产精品女同一区二区三区| 亚洲一区自拍偷拍| 狠狠色伊人亚洲综合成人| 91精彩视频在线观看| 国产色综合久久| 麻豆精品精品国产自在97香蕉 | 久久久www成人免费毛片麻豆| 夜夜爽夜夜爽精品视频| 国产成人日日夜夜| 日韩欧美在线1卡| 亚洲综合男人的天堂| 成人精品免费网站| 久久你懂得1024| 久久爱www久久做| 欧美一区二区三区人| 亚洲制服欧美中文字幕中文字幕| 99在线视频精品| 国产精品超碰97尤物18| 国产在线精品一区二区夜色 | 日韩精品每日更新| 欧美三级蜜桃2在线观看| 亚洲同性同志一二三专区| av在线综合网| 国产精品久久久99| 成年人国产精品| 国产精品欧美综合在线| 国产69精品久久777的优势| 久久先锋影音av| 国产一区不卡视频| 国产午夜三级一区二区三| 国产综合久久久久久鬼色| 精品国产髙清在线看国产毛片| 看国产成人h片视频| 精品日韩一区二区| 国产一区二区h| 国产精品污污网站在线观看| 懂色av中文字幕一区二区三区| 欧美国产禁国产网站cc| eeuss国产一区二区三区| 国产精品久久久久影院色老大| www.欧美亚洲| 亚洲一区在线免费观看| 91精品久久久久久蜜臀| 精品一区二区免费在线观看| 欧美精品一区二| 不卡视频一二三| 亚洲国产aⅴ成人精品无吗| 欧美乱妇20p| 国产乱人伦精品一区二区在线观看| 久久精品视频一区二区三区| 97精品久久久久中文字幕| 亚洲午夜精品网| 日韩精品一区二区三区蜜臀 | 精品无人码麻豆乱码1区2区| 久久久久久久久久久久久夜| 成人av一区二区三区| 亚洲自拍都市欧美小说| 日韩欧美区一区二| 99久久精品99国产精品| 午夜免费欧美电影| 国产欧美久久久精品影院| 色婷婷亚洲综合| 久久国产精品一区二区| 中文字幕中文在线不卡住| 欧美亚洲自拍偷拍| 国产精品夜夜爽| 亚洲一区二区免费视频| 久久久久99精品一区| 欧美日韩在线不卡| 国v精品久久久网| 午夜成人免费视频| 国产精品不卡一区| 日韩欧美国产小视频| 色狠狠一区二区| 国产成人av一区二区三区在线观看| 一区二区三区日韩| 欧美精品一区二区三区久久久| 91丨九色porny丨蝌蚪| 美女视频黄 久久| 亚洲第一久久影院| 亚洲女同女同女同女同女同69| 日韩一区二区三区四区五区六区| 色综合av在线| 不卡一区在线观看| 国产一区二区网址| 男人的天堂久久精品| 日韩一区中文字幕| 久久精品一区二区三区不卡牛牛 | 欧美亚一区二区| 国产白丝精品91爽爽久久| 日韩精品乱码免费| 亚洲一区中文日韩| 亚洲理论在线观看| 国产精品剧情在线亚洲| 久久久久成人黄色影片| 欧美精品一区二区精品网| 在线播放国产精品二区一二区四区| 91啦中文在线观看| 99国产欧美另类久久久精品| 国产精品99久久久| 国产一区二区导航在线播放| 蜜臀av性久久久久av蜜臀妖精 | 中文字幕一区三区| 国产三级一区二区| 久久久不卡网国产精品二区| 精品电影一区二区三区| 欧美va亚洲va在线观看蝴蝶网| 8v天堂国产在线一区二区| 欧美天堂一区二区三区| 欧美天堂亚洲电影院在线播放| 欧美在线观看你懂的| 欧洲人成人精品| 欧美日韩综合不卡| 欧美高清视频不卡网| 欧美浪妇xxxx高跟鞋交| 欧美一级专区免费大片| 日韩欧美一级二级| 国产午夜亚洲精品不卡| 中文字幕高清不卡| 亚洲天堂网中文字| 夜色激情一区二区| 天天亚洲美女在线视频| 乱一区二区av| 国产91精品精华液一区二区三区| 成人午夜电影久久影院| 色婷婷激情久久| 欧美一区二区三区视频在线| 欧美精品一区二区三区高清aⅴ| 国产无一区二区| 亚洲日本电影在线| 亚洲大型综合色站| 久久精品国产精品亚洲综合| 国产剧情av麻豆香蕉精品| 成人国产精品免费观看视频| 91麻豆国产精品久久| 7777女厕盗摄久久久| 久久久久久99精品| 亚洲欧美日韩在线播放| 日日夜夜精品免费视频| 国产大陆亚洲精品国产| 91搞黄在线观看| 精品国产一区二区三区忘忧草| 国产精品每日更新| 无吗不卡中文字幕| 粉嫩绯色av一区二区在线观看| 在线看日本不卡| 久久亚洲精华国产精华液| 亚洲天堂2016| 激情欧美一区二区三区在线观看| 成人听书哪个软件好| 欧美日韩精品欧美日韩精品| xfplay精品久久| 亚洲欧美二区三区| 国产乱子轮精品视频| 欧美日韩久久久久久| 中文文精品字幕一区二区| 午夜伦理一区二区| av不卡免费在线观看| 日韩欧美中文字幕公布| 一区二区三区四区亚洲| 国产精品一区不卡| 欧美一区二区成人6969| 亚洲人成精品久久久久久| 国产综合成人久久大片91| 欧美日韩国产一区二区三区地区| 久久女同精品一区二区| 亚洲午夜一区二区| heyzo一本久久综合| 欧美精品一区二区三区很污很色的| 亚洲一区二区在线免费看| 从欧美一区二区三区| 日韩精品中午字幕| 天堂久久久久va久久久久| 色94色欧美sute亚洲线路一ni| 久久亚洲精品国产精品紫薇| 午夜欧美大尺度福利影院在线看| 91在线免费看| 国产精品久久久久久久久搜平片 | 国产亚洲欧洲一区高清在线观看| 午夜国产精品一区| 在线亚洲一区二区| 国产精品免费久久久久| 国产麻豆精品95视频| 精品国产电影一区二区| 久久成人羞羞网站| 欧美一卡2卡三卡4卡5免费| 香蕉久久一区二区不卡无毒影院 | 亚洲自拍偷拍网站| 色吧成人激情小说| 亚洲女同一区二区| 99国产精品久久久久| 国产偷v国产偷v亚洲高清| 国产一区在线观看视频| 国产日韩欧美一区二区三区乱码| 国产一区二区在线影院| 亚洲精品在线观看网站| 狠狠色综合日日|