820 B
820 B
三路传感器一致性监测
语言:VHDL 2008
项目目标
对试验台三路离散状态输入进行多数一致性判断,同时保留通道故障标记和采样有效性
模块
- 同步采样:输入稳定后锁存
- 多数表决:三路状态一致性判定
- 故障判定:给出少数通道掩码
- 顶层集成:复位及结果有效控制
构建或运行
ghdl -a --std=08 rtl/sample_latch.vhd rtl/majority_vote.vhd rtl/fault_filter.vhd rtl/redundant_monitor.vhd && ghdl -e --std=08 redundant_monitor
验收重点
仿真复位、保持、三路一致及三种单路偏离组合;逐周期核对结果、有效标志和故障掩码
文件
rtl/sample_latch.vhdrtl/majority_vote.vhdrtl/fault_filter.vhdrtl/redundant_monitor.vhd