Giter Site home page Giter Site logo

ncgpythoncocotb's Introduction

Dyumnin Semiconductors: Take home coding test for Verification/QC Role.

Written test for applicants for verification/QC role. Tests effective use of Python and CocoTB Framework

Introduction

This test requires an understanding of

  1. Python3
  2. cocotb framework https://docs.cocotb.org/
  3. Testing methodologies and lifecycle https://en.wikipedia.org/wiki/Test-driven_development ,https://www.guru99.com/software-testing-life-cycle.html, https://en.wikipedia.org/wiki/Software_testing

Test

For the design specification in design_spec.pdf :

  1. Write a test specification.
  2. Using cocotb framework implement any 2 testcases from the specification, atleast one test should be a datapath (in to out) test.

Note A sample design Implementation is available at https://github.com/dyumnin/NCGPythonCocotb/blob/main/rtl/sumofN.v You can use this to verify your test environment.

How to take the test

  1. Clone this repository.
  2. Create your testspecification and and testcase list and upload it to the doc folder
  3. Setup cocotb environment and implement the testcases in the tb folder.
  4. Create a pull request with the changes above.

Qualifying criteria:

  1. Correctness and completeness of the testplan.
  2. Error free Python code.
  3. Correctness of the testcase implementation.

Time Limit:

The coding portion of this test takes less than an hour for a practitioner in the field. A fresher in the field will require additional time to understand the concepts. You are expected to complete the test within 2 weeks from the date you were invited to take the test. In case you need extra time send a message.

In case of any doubts/issues please raise a ticket at https://github.com/dyumnin/NCGPythonCocotb/issues

FAQ

Answer to some of the frequently asked question can be found in FAQ.md

  1. Information related to cocotb docs.cocotb.org/
  2. Starting point for learning about software testing. https://en.wikipedia.org/wiki/Software_testing
  3. https://www.softwaretestinghelp.com/how-to-write-effective-test-cases-test-cases-procedures-and-definitions/

ncgpythoncocotb's People

Contributors

jahagirdar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ncgpythoncocotb's Issues

About Driver and scoreboard

Respected Sir,
Can you please explain little bit about _driver_sends, scoreboard, monitor and put/get? How they are related to design modules? And little bit guide to implement them.

Testplan

Respected Sir,
Do I have to share the test plan as well?

Configuration Interface: Coding Test Assignment

Respected Sir,
Can you please tell me a little bit about the configuration interface? It would be more useful if you could explain me a data transfer from all three interfaces.
Have a great day ahead!

Regards
Shubhi

PEP517 Error while installing cocotb package

Building wheel for cocotb (PEP 517) ... error
ERROR: Failed building wheel for cocotb
Failed to build cocotb
ERROR: Could not build wheels for cocotb which use PEP 517 and cannot be installed directly

I tried updating python and other packages. Also I tried to install the development version, the same error seems to pop up.
I have installed python 3.9 version on Windows 10.

PS: Had some issues with versions of MSVC for installing cocotb. Works after reinstallation

how to take test

Sir I'm new to this.
please let me know how to take test and how to upload the test cases in detail. I'm totally confused.
I can write the code given spec but I'm confusing in procedure to take test

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.