Code Monkey home page Code Monkey logo

jiaotongdeng-vhdl's Introduction

jiaotongdeng-VHDL

1、基本功能:无行人过马路时,车行道持续亮绿灯让车通行,直到有行人按过街按钮,才执行人、车通行的切换。行人按下按钮后延时30秒,切换到人行道通行15秒,然后切换到车通行30秒。此后,若无人按过街按钮,则保持车通行状态,若继续有人按下过街按钮,则执行人、车分别15秒和30秒的轮换通行。车行道的绿灯到红灯的切换有3秒过渡时间(亮黄灯),人行道则只有红、绿灯,且无过渡时间。

(1) “红”、“绿”、“黄”灯的状态可组合为二进制表示,如红灯亮表示为:“0100”,黄灯亮:“0010”,绿灯亮:“0001”(十进制分别为“4”、“2”、“1”),可以用一个数码管显示。

(2)人行道和车行道的信号灯状态分别用一个数码管显示,计时则用另两个数码管显示。

jiaotongdeng-vhdl's People

Contributors

luffymaika avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.